using UnityEngine;

//Encoding：UTF-8
public class UIGameMenu : MonoBehaviour
{
    public static UIGameMenu singleton;

    public GameObject startMenu;
    public GameObject gameOver;

    UIGameMenu()
    {
        singleton = this;
    }

    public void GameOver()
    {
        startMenu.SetActive(true);
        gameOver.SetActive(true);
    }

    public void StartGame()
    {
        startMenu.SetActive(false);
        gameOver.SetActive(false);
        PaiOnTableController.singleton.Init();
        UIPlayer.singleton.Init();
        PaiJuManager.singleton.Play();
    }
}
